<?php $this->headScript()->appendFile($this->JS_PATH . 'assignrequest.js'); ?>

<div id="contractor-listing"></div>
<div id="pad-wrapper" class="form-page">
        <div class="row-fluid form-wrapper">
            <div class="span column">
                <?php if ($this->successmessage != ''): ?>
                    <div class="alert alert-success">
                        <i class="icon-ok-sign"></i> <?php echo $this->successmessage; ?>
                    </div>
                <?php endif; ?>
               <?php if (count($this->errorMessageArray) > 0): ?>
                    <div class="alert alert-error">
                        <?php foreach ($this->errorMessageArray as $erroValue): ?>
                            
                                <div class="text-left">
                                    <i class="icon-remove-sign"></i>
                                    <?php echo $erroValue; ?>
                                </div>
                            
                        <?php endforeach; ?>
                    </div>
                <?php endif; ?>
                <h3><?php echo $this->translate("assign_request_header"); ?></h3>
                <br />
                <div class="assign">
                <form role="form" class="form-horizontal" id="contractor-form" name="assign-request"  enctype="multipart/form-data"  action="" method="post">
                   <!-- <div class="field-box">
                            <label><?php echo $this->translate("assign_req_company"); ?><span class="error-star">*</span>:</label>
                           <div class="ui-select">
                               <?php echo $this->form->com_id; ?>
                           </div>
                     </div>
                   -->
                   <?php if($this->roletype != 'Contractor' && $this->roletype != 'Customer' && $this->roletype != 'SuperCustomer'):?> 
                   <div class="field-box">
                            <label><?php echo $this->translate("assign_req_contractor_customer"); ?>:</label>
                           <div class="ui-select">
                               <?php echo $this->form->cont_id; ?>
                           </div>
                    </div>
                   <?php endif;?> 
                    
                    
                    <div class="field-box">
                        <label><?php echo $this->translate("assign_req_status"); ?><span class="error-star">*</span>:</label>
                        <div class="ui-select">
                            <?php echo $this->form->ass_status; ?>
                        </div> 
                    </div>
                    <br/>
                    <div class="field-box">
                        <?php echo $this->form->Save; ?>
                        <?php echo $this->form->Reset; ?> 
                    </div>
	        </form>
                </div>
            </div>
        </div>
    </div>


